<template>
  <div class="group">
    <components
      v-for="(item, i) in propValue"
      :key="item.id"
      :is="item.component"
      :style="{ ...item.style, 'z-index': i + 1 }"
      :propValue="item.propValue"
    ></components>
  </div>
</template>

<script>
export default {
  props: ["propValue"],
};
</script>

<style lang="less" scoped>
.group {
  position: absolute;
}
</style>